// import 'package:xinxuan/vo/common_vo/common_pagination_vo.dart';
// import 'package:xinxuan/vo/common_vo/common_seckill_products_vo.dart';


// class SeckillOrderListVo {
  
//   List<SeckillOrderItem>? data;
//   SeckillOrderListMeta? meta;

//   SeckillOrderListVo({this.data, this.meta});

//   SeckillOrderListVo.fromJson(Map<String, dynamic> json) {
//     if (json['data'] != null) {
//       data = <SeckillOrderItem>[];
//       json['data'].forEach((v) {
//         data!.add(new SeckillOrderItem.fromJson(v));
//       });
//     }
//     meta = json['meta'] != null ? new SeckillOrderListMeta.fromJson(json['meta']) : null;
//   }

//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = new Map<String, dynamic>();
//     if (this.data != null) {
//       data['data'] = this.data!.map((v) => v.toJson()).toList();
//     }
//     if (this.meta != null) {
//       data['meta'] = this.meta!.toJson();
//     }
//     return data;
//   }
// }

// class SeckillOrderItem {
//   int? id;
//   String? orderSn;
//   double? commissionRate;
//   int? payStatus;
//   int? userId;
//   int? teamId;
//   int? status;
//   String? statusStr;
//   int? source;
//   String? payableAmount;
//   String? paidAmount;
//   String? totalAmount;
//   String? createdAt;
//   String? updatedAt;
//   List<CommonSeckillProductsVo>? products;

//   SeckillOrderItem(
//       {this.id,
//       this.orderSn,
//       this.commissionRate,
//       this.payStatus,
//       this.userId,
//       this.teamId,
//       this.status,
//       this.statusStr,
//       this.source,
//       this.payableAmount,
//       this.paidAmount,
//       this.totalAmount,
//       this.createdAt,
//       this.updatedAt,
//       this.products});

//   SeckillOrderItem.fromJson(Map<String, dynamic> json) {
//     id = json['id'];
//     orderSn = json['order_sn'];
//     commissionRate = json['commission_rate'];
//     payStatus = json['pay_status'];
//     userId = json['user_id'];
//     teamId = json['team_id'];
//     status = json['status'];
//     statusStr = json['status_str'];
//     source = json['source'];
//     payableAmount = json['payable_amount'];
//     paidAmount = json['paid_amount'];
//     totalAmount = json['total_amount'];
//     createdAt = json['created_at'];
//     updatedAt = json['updated_at'];
//     if (json['products'] != null) {
//       products = <CommonSeckillProductsVo>[];
//       json['products'].forEach((v) {
//         products!.add(new CommonSeckillProductsVo.fromJson(v));
//       });
//     }
//   }

//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = new Map<String, dynamic>();
//     data['id'] = this.id;
//     data['order_sn'] = this.orderSn;
//     data['commission_rate'] = this.commissionRate;
//     data['pay_status'] = this.payStatus;
//     data['user_id'] = this.userId;
//     data['team_id'] = this.teamId;
//     data['status'] = this.status;
//     data['status_str'] = this.statusStr;
//     data['source'] = this.source;
//     data['payable_amount'] = this.payableAmount;
//     data['paid_amount'] = this.paidAmount;
//     data['total_amount'] = this.totalAmount;
//     data['created_at'] = this.createdAt;
//     data['updated_at'] = this.updatedAt;
//     if (this.products != null) {
//       data['products'] = this.products!.map((v) => v.toJson()).toList();
//     }
//     return data;
//   }
// }

// class SeckillOrderListMeta {
//   CommonPagination? pagination;

//   SeckillOrderListMeta({this.pagination});

//   SeckillOrderListMeta.fromJson(Map<String, dynamic> json) {
//     pagination = json['pagination'] != null
//         ? new CommonPagination.fromJson(json['pagination'])
//         : null;
//   }

//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = new Map<String, dynamic>();
//     if (this.pagination != null) {
//       data['pagination'] = this.pagination!.toJson();
//     }
//     return data;
//   }
// }
